/*
 * This file is part of ExcepGen.
 * Copyright (c) 2008, 2009, Iparelan Solutions, LLC. All rights reserved.
 *
 * ExcepGen is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation, either version 3 of the License, or (at your option)
 * any later version.
 *
 * ExcepGen is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
 * more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with ExcepGen. If not, see <http://www.gnu.org/licenses/>.
 */

package com.iparelan.excepgen;

import javax.annotation.Generated;

/**
 * Localized message resources.
 */
@Generated (
    value = "com.iparelan.jill.Jill",
    date = "2009-02-05T21:14:09.531-0500"
)
public enum L7dMsg implements com.iparelan.jill.L10n.ResourceKey {
    APP_THREAD_NAME ("app-thread-name"),
    ARG_COUNT_OK ("arg-count-ok"),
    CLASS_LOADING_FAILURE ("class-loading-failure"),
    CODE_GENERATION_NOTICE ("code-generation-notice"),
    COMPILER_LOADER_ERROR ("compiler-loader-error"),
    COMPILER_STATUS ("compiler-status"),
    CONFIG_BAD ("config-bad"),
    CONFIG_OK ("config-ok"),
    DIRECTORY_CANNOT_BE_CREATED ("directory-cannot-be-created"),
    DIRECTORY_DOES_NOT_EXIST ("directory-does-not-exist"),
    DIRECTORY_NOT_WRITABLE ("directory-not-writable"),
    DIRECTORY_WRITABLE ("directory-writable"),
    FILE_CANNOT_BE_CREATED ("file-cannot-be-created"),
    FILE_DELETE_DENIED ("file-delete-denied"),
    FILE_DOES_NOT_EXIST ("file-does-not-exist"),
    FILE_NOT_WRITABLE ("file-not-writable"),
    IO_ERROR ("io-error"),
    IO_ERROR_ON_CLOSE ("io-error-on-close"),
    NOT_DIRECTORY ("not-directory"),
    SAX_ERROR ("sax-error"),
    SAX_HANDLER_OK ("sax-handler-ok"),
    SAX_PARSE_ERROR ("sax-parse-error"),
    SAX_PARSER_OK ("sax-parser-ok"),
    SAX_UNKNOWN_ELEMENT ("sax-unknown-element"),
    STRANGE_EXCEPTION ("strange-exception"),
    USAGE ("usage"),
    MESSAGE_DESCRIPTION ("message-description");

    public static final com.iparelan.jill.L10n<L7dMsg, String> MSGS;

    static {
        final String resourceBundleName = L7dMsg.class.getPackage().getName() + '.' + com.iparelan.jill.L10n.MESSAGE_RESOURCE_BUNDLE_NAME;
        MSGS = new com.iparelan.jill.L10n<L7dMsg, String>(resourceBundleName);
    }

    private final String keyName;

    L7dMsg(final String keyName) {
        this.keyName = keyName;
    }

    @Override
    public String getKeyName() {
        return keyName;
    }

    @Override
    public String toString() {
        return MSGS.get(L7dMsg.MESSAGE_DESCRIPTION, name(), getKeyName());
    }
}
